package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class PageResult<T> {

    private int total;
    private List<T> rows;


    public PageResult(int total, List<T> rows) {
        this.rows=rows;
        this.total=total;
    }

}
